#bigmap {
	width: 100%;
	height: 100%;
	/*min-height: 600px;*/
}
.timeline {
	position: fixed;
	width: 100%; background: #F4EEB4;
	padding-top: 5px; z-index: 1;
	left: 0; bottom: 0;
}
.frame { width: 100%; height: 40px; padding: 0;}
.frame .slidee{ margin: 0; padding: 0; 
	height: 60px; list-style: none; 
}
.frame .slidee li { 
	float: left; margin: 0;
	padding: 0; width: 80px; height: 60px; 
	background: #EED799; cursor: pointer;
	text-align: center; padding-top: 13px;

	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#years-frame .slidee li {
	width: 160px; font-size: 13px;
}
#years-frame .slidee li.head {
	border-left: 1px solid #ff9966;
}
#years-frame .slidee li.in-cent {
	background: #F1A9A0;
}
#years-frame .slidee li.year.active {
	background: #E26A6A;
}
/*#years-frame .slidee li {
	font-size: 13px;
}*/

#centuries-frame, #centuries-frame .slidee, #centuries-frame .slidee li {
	height: 25px; padding-top: 0; line-height: 25px;
}
#centuries-frame .slidee li {
	width: 160px; margin: 0 2px 0 0;
}
#centuries-frame .slidee li.active {
	background: #86E2D5;
}
.timeline .range { 
	position: absolute;
	width: 165px; height: 5px;
	background: #555;
	top: 0px; left: 50%;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	transform: translate(-50%, 0);
}

@media (max-width: 768px) {
	.frame .slidee li { width: 50px;}
	.timeline .range {
		width: 165px; height: 5px;
	}

	#years-frame { height: 45px; }
	#years-frame .slidee{ height: 45px; }
	#years-frame .slidee li { height: 45px; padding-top: 0;}
}

/* Scrollbar */
.scrollbar {
	margin: 3px 0 1em 0;
	height: 2px;
	background: #ccc;
	line-height: 0;
}
.scrollbar .handle {
	width: 100px;
	height: 100%;
	background: #292a33;
	cursor: pointer;
}
.scrollbar .handle .mousearea {
	position: absolute;
	top: -9px;
	left: 0;
	width: 100%;
	height: 20px;
}

.event-list {
	position: fixed;
	width: 250px;
	background: #2980B9;
	right: 0; top: 35px;
	bottom: 110px;
	border-left: 1px solid #333;
	/*z-index: 100;*/
}
.event-list h2.titl {
	font-size: 16px; margin: 0;
	text-align: center;
	width: 100%; height: 30px;
	line-height: 30px;
	background: #F89406;
	color: #fff;
}
.event-list .list {
	padding: 0;
	margin-top: 20px;
	overflow: auto;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
.event-list .list li {
	border-bottom: 1px solid #666;
	padding: 5px; background: #333;
	color: #eee; margin-bottom: 5px;
	cursor: pointer;
}
.event-list .list li:hover {
	background: #2C3E50;
}

.event-list .list p {margin: 0;}
.event-list .list p.name {
	font-weight: bold; 
	font-style: italic;
	margin-bottom: 5px;
	font-size: 15px;
	margin-top: 25px;
	margin-left: 0;
	transition: margin-left 0.4s;
	-o-transition: margin-left 0.4s;
	-ms-transition: margin-left 0.4s;
	-moz-transition: margin-left 0.4s;
	-webkit-transition: margin-left 0.4s;
}
.event-list .list li:hover p.name {
	margin-left: 20px;
}

.event-list .list p.time {
	font-size: 11px;
}
.event-list .list p.link {
	font-size: 11px;
	margin-top: 5px;
	transition: all 0.4s;
	-o-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-webkit-transition: all 0.4s;
}
.event-list .list p.link:hover {
	margin-left: 20px;
}
.event-list .list p.link a { 
	color: #ccc;
	transition: all 0.4s;
	-o-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-webkit-transition: all 0.4s;
}
.event-list .list p.link:hover a {
	color: yellow;
}
.event-list .list p.region {
	width: 20px; height: 20px;
	border: 1px solid #fff;
	display: block; text-align: center;
	font-size: 9px; line-height: 20px;
	border-bottom-left-radius: 10px; 
	border-bottom-right-radius: 10px; 
	float: right; margin-top: -5px;
	border-top: 0;
}
.event-list .list p.region.vn { background: #2C3E50 }
.event-list .list p.region.tg,
.event-list .list p.region.wo { background: #C0392B }

/*====================================================================*/
.custom-time .button {
	position: absolute; bottom: 103px; left: 10px;
}
.custom-time .timeFrm .ng-invalid {
	border: 1px solid red;
}
.custom-time .timeFrm .ng-dirty.ng-valid {
	border: 1px solid #3498DB;
}
.custom-time .timeFrm .error span {
	display: block; margin: 2px 0;
	color: red; font-style: italic;
}


/*================================================================================================*/
/*================================================================================================*/
.event-list .ng-enter, 
.event-list .ng-leave
{ 
    -webkit-transition: 400ms ease-in-out all;
    -moz-transition: 400ms ease-in-out all;
    -ms-transition: 400ms ease-in-out all;
    -o-transition: 400ms ease-in-out all;
    transition: 400ms ease-in-out all;
    position: relative;
    display: block;
} 
 
.event-list .ng-enter.ng-enter-active, 
.event-list .ng-leave {
    opacity: 1;
    top: 0;
    /*height: 30px;*/
}
 
.event-list .ng-leave.ng-leave-active,
.event-list .ng-enter {
    opacity: 0;
    top: -50px;
    /*height: 0px;*/
}
/*===================================================================================*/
/*===================================================================================*/
div.map-content {
	min-width: 300px;
	min-height: 100px;
}

.page-map-titl {
	position: fixed;
	right: 250px; top:35px;
	padding: 0 20px;
	z-index: 10;
	background: rgba(255,255,255,.7);
	/*border-top-left-radius: 20px;*/
	border-bottom-left-radius: 20px;
}
.page-map-titl h1 {
	font-size: 25px;
	color: #E74C3C;
	margin: 10px 0;
}
.place-thumb {
	text-align: right;
	height: 100px;
}
.place-thumb img {
	max-width: 100%;
	max-height: 100%;
}
.hsplace.search-form {
	width: 100%;
	position: fixed;
	left: 0; bottom: 0;
	height: 45px;
	padding: 5px;	
	background: #555;
	margin-left: -250px;
	padding-left: 255px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
.places-list {
	bottom: 0px;
}